#if !defined(AFX_SALARYINFODLG_H__10CDEAB4_F438_4F0A_A9D9_CF47C657986A__INCLUDED_)
#define AFX_SALARYINFODLG_H__10CDEAB4_F438_4F0A_A9D9_CF47C657986A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SalaryInfoDlg.h : header file
#include "Resource.h"
//
__declspec(dllimport) BOOL CallStuffDocumentDlg(_ConnectionPtr m_pConnection);

/////////////////////////////////////////////////////////////////////////////
// CSalaryInfoDlg dialog

class CSalaryInfoDlg : public CDialog
{
// Construction
public:
	CSalaryInfoDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSalaryInfoDlg)
	enum { IDD = IDD_DIALOG_SALARYINFO };
	CListCtrl	m_ctlStuffNumberList;
	long	m_lStuffNumber;
	CString	m_strRemark;
	CString	m_strFind;
	double	m_dblBaseSalary;
	double	m_dblHatMoney;
	double	m_dblDutyRecord;
	double	m_dblOtherMoney;
	double	m_dblSalaryTotal;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSalaryInfoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSalaryInfoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdd();
	afx_msg void OnClose();
	afx_msg void OnDel();
	afx_msg void OnEdit();
	afx_msg void OnFind();
	afx_msg void OnNextpage();
	afx_msg void OnPrevpage();
	afx_msg void OnTop();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRefresh();
	afx_msg void OnChangeBasesalary();
	afx_msg void OnChangeDutyrecord();
	afx_msg void OnChangeHotmoney();
	afx_msg void OnChangeOthermoney();
	afx_msg void OnGostuff();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
//	_CommandPtr m_pCommand;
	void Openset();
	void Closeset();
	void GetEditValue();
	void SetEditValue();
	void SetListColumn();
	void GetListValue(int j);
	void LinkListEdit(int i);
	void SumSalary();

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SALARYINFODLG_H__10CDEAB4_F438_4F0A_A9D9_CF47C657986A__INCLUDED_)
